<?php
/*
 * Copyright (c) 2023. ogg. Inc. All Rights Reserved.
 * ogg sit down and start building bugs in sunny weather.
 * Author: Tc <1224663799@qq.com>.
 * LastChangeTime: 2023-01-17 02:12:33
 * ChangeTime: 2023-04-26 10:21:29
 */

declare(strict_types=1);

namespace Hesb\Hyperf\ApiDocs\Annotation;

use Attribute;
use Hyperf\Di\Annotation\AbstractAnnotation;
use OpenApi\Generator;

#[Attribute(Attribute::TARGET_METHOD)]
class ApiOperation extends AbstractAnnotation
{
    public function __construct(
        public string $summary = '',
        public string $description = Generator::UNDEFINED,
        public bool $hidden = false,
        public bool $security = true
    ) {
    }
}
